// MyFtpView.cpp : implementation of the CMyFtpView class
//

#include "stdafx.h"
#include "MyFtp.h"

#include "MyFtpDoc.h"
#include "MyFtpView.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CMyFtpView

IMPLEMENT_DYNCREATE(CMyFtpView, CListView)

BEGIN_MESSAGE_MAP(CMyFtpView, CListView)
END_MESSAGE_MAP()

// CMyFtpView construction/destruction

CMyFtpView::CMyFtpView()
{
	// TODO: add construction code here

}

CMyFtpView::~CMyFtpView()
{
}

BOOL CMyFtpView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Modify the Window class or styles here by modifying
	//  the CREATESTRUCT cs

	return CListView::PreCreateWindow(cs);
}

void CMyFtpView::OnInitialUpdate()
{
	CListView::OnInitialUpdate();


	// TODO: You may populate your ListView with items by directly accessing
	//  its list control through a call to GetListCtrl().
}


// CMyFtpView diagnostics

#ifdef _DEBUG
void CMyFtpView::AssertValid() const
{
	CListView::AssertValid();
}

void CMyFtpView::Dump(CDumpContext& dc) const
{
	CListView::Dump(dc);
}

CMyFtpDoc* CMyFtpView::GetDocument() const // non-debug version is inline
{
	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMyFtpDoc)));
	return (CMyFtpDoc*)m_pDocument;
}
#endif //_DEBUG


// CMyFtpView message handlers
